/summary panel for claim to be used in lists

%div(class="item-title")
  %div(class="item-name")
    %h3(class="item-source")
      =succeed ':' do
        =link_to drug_claim.source.source_db_name, source_path(drug_claim.source.source_db_name)
      %span(class="item-id")
        =ext_link_to drug_claim.name, drug_claim.original_data_source_url

  %div(class="item-corner")
    %ul(class="attribute-list")
      %li
        %strong
          Version:
        =drug_claim.source.source_db_version

%div(class="item-content")
  %div(class="cell category")
    %div(class="item-panel")
      %h4{style: "display: inline-block;"}
        Alternate Names: 
        %table{class: "table table-condensed table-striped", style: "table-layout:fixed;" }
          -drug_claim.drug_claim_aliases[0..2].each do |alt_name|
            %tr
              %td{style: "word-wrap: break-word;"} 
                =alt_name.alias
              %td{style: "word-wrap: break-word;"} 
                =alt_name.nomenclature

  %div(class="cell category")
    %div(class="item-panel")
      %h4
        Drug Info:
        %table{class: "table table-condensed table-striped", style: "table-layout:fixed;"}
          -drug_claim.drug_claim_attributes[0..2].each do |attribute|
            %tr
              %td{style: "word-wrap: break-word;"} 
                =attribute.name
              %td{style: "word-wrap: break-word;"} 
                =attribute.value

  %div(class="cell category")
    %div(class="item-panel")
      %h4
        Publications:
        %table{class: "table table-condensed table-striped", style: "table-layout:fixed;"}
          -drug_claim.publications[0..2].each do |publication|
            %tr
              %td
                %a{href: PMID.pubmed_url(publication.pmid)}
                  = publication.citation
